import logging

from oriolustrotter.core import Fetcher

class EmptyFetcher(Fetcher):
    """
    Empty Fetcher for local operation.
    """
    
    def __init__(self, cache, timeout = 30):
        Fetcher.__init__(self, cache)
        self.__timeout = timeout
        self.logger = logging.getLogger("EmptyFetcher")
        self.logger.debug("init fetcher: cache - '%s', timeout = %d", self.cache, timeout)
        
    def get(self, url, login = None, password = None):
        pass